How to close a windows form on click the escape key using C#?
Close windows form on click escape key in C#
6446
07-Oct-2013
Anonymous User
08-Oct-2013Firstly you need to handle the Form Key Down event and then check the event key code is equal to Keys.Escape and the in the true section you can write the form close statement.